package cn.edu.sgu.www.mhxysy.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "uploads")
public class UploadsProperties {

    /**
     * 上传路径
     */
    private String path;

    /**
     * 临时目录
     */
    private String tempDir;

    /**
     * 文件扩展名
     */
    private List<String> fileTypes;
}